home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / raytr / r3shyp.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  889 b   |  44 lines

  1.  
  2. // JavaScript wrapper for r3shyp.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_SHYP_H = 1;
  7. include("real/raytr/r3surf.js")
  8.  
  9.  
  10. var R3CLID_SHYPERBOL = 773;
  11.  
  12.  
  13.  
  14.  
  15. R3SHYPA_Center = 773500;
  16. function SetR3SHYPA_Center(value) {
  17.   R3Set(this.r3obj, R3SHYPA_Center, value, R3TID_VECTOR, 0); 
  18. }
  19.  
  20. R3SHYPA_A = 773501;
  21. function SetR3SHYPA_A(value) {
  22.   R3Set(this.r3obj, R3SHYPA_A, value, R3TID_VECTOR, 0); 
  23. }
  24.  
  25. R3SHYPA_R = 773502;
  26. function SetR3SHYPA_R(value) {
  27.   R3Set(this.r3obj, R3SHYPA_R, value, R3TID_FLOAT, 0); 
  28. }
  29.  
  30.  
  31.  
  32. function r3Shyperbol () { 
  33.    this.base = r3God;
  34.    if(arguments.length) {
  35.       this.base(R3CLID_SHYPERBOL, arguments);
  36.    }
  37.    // Attributes
  38.    this.SetCenter=SetR3SHYPA_Center;
  39.    this.SetA=SetR3SHYPA_A;
  40.    this.SetR=SetR3SHYPA_R;
  41. }
  42.  
  43. r3Shyperbol.prototype=new r3Surface;
  44. // r3shyp.h_H